﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace MMO_MANAGER.FORM_CATALOG
{
    public partial class GPDlg : DevExpress.XtraEditors.XtraForm
    {
        public GPDlg()
        {
            InitializeComponent();
        }


        public string NameGP
        {
            get { return txt_name.Text; }
            set { txt_name.Text = value; }
        }

        public string PWD
        {
            get { return txt_pass.Text; }
            set { txt_pass.Text = value; }
        }

        public string Trang
        {
            get { return txt_trang.Text; }
            set { txt_trang.Text = value; }
        }

        public string Note
        {
            get { return txt_note.Text; }
            set { txt_note.Text = value; }
        }

        private void GPDlg_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar == 27)
            {
                this.Close();
            }
        }


    }
}